package com.rom.ratethehell.protocol.tasks;

import android.content.Context;

import com.rom.ratethehell.protocol.Profile;
import com.rom.ratethehell.protocol.RequestOrganizer;

public abstract class GetProfileTask extends SneakAPicTask<Profile>{
	private String userId;
	public GetProfileTask(Context c,String userId) {
		super(c,true);
		this.userId = userId;
	}
	@Override
	protected void doTask() throws Exception {
		setResult( RequestOrganizer.getInstance().getProfile(userId) );
	}


}
